{template header}
<link type="text/css" rel="stylesheet" href="{$TS_APP[tpl][skin]}{$skin}/editor.css" />

<div class="midder">

<h1>编辑：{$strTopic[title]}</h1>

<div class="qi_c_c">
<div class="qi_c_cleft">
<form method="POST" action="index.php?app=group&ac=do&ts=topic_eidt">
<table width="800">
<tbody><tr><td width="50">标题: </td>
    <td><input style="padding:3px 0;width:400px;" type="text" value="{$strTopic[title]}" maxlength="100" size="50" name="title" gtbfieldid="2"></td></tr>
	
<tr><td height="30">类型：</td><td>
<select name="typeid">
<option <!--{if $strTopic[typeid]=='0'}-->selected="select"<!--{/if}--> value="0">选择类型</option>
<!--{loop $arrGroupType $key $item}-->
<option <!--{if $item[typeid]==$strTopic[typeid]}-->selected="select"<!--{/if}--> value="{$item[typeid]}">{$item[typename]}</option>
<!--{/loop}-->
</select></td></tr>

<tr><td></td><td>
<!--editor-->
{php include TmooTemplate("editor/editor_mini");}
 </td>
	
	</tr>
    <tr>
	<td valign="top">
	内容：
    </td><td><textarea style="width:100%;" id="editor_content" cols="55" rows="20" name="content">{$strTopic[content]}</textarea></td></tr>
	
	<tr><td height="50">评论：</td><td><input type="radio" <!--{if $strTopic[iscomment]=='0'}-->checked="select"<!--{/if}-->   name="iscomment" value="0" />允许 <input type="radio" <!--{if $strTopic[iscomment]=='1'}-->checked="select"<!--{/if}-->  name="iscomment" value="1" />不允许</td></tr>
	
    <tr><td></td><td>
	
	<input type="hidden" name="topicid" value="{$strTopic[topicid]}" />
    <input type="submit" value="好了，提交修改"> 
	<a href="{$TS_URL[topic]}{$strTopic[topicid]}{$TS_URL[suffix]}">返回</a>
	</td></tr></tbody></table>
</form>
</div>


</div>
</div>

{template footer}